import publicRouter from './public/index'
import orderRouter from './order/index'
import { filterRouter, filterMenu } from '@/utils/filterRouter.js'
// import menuSetting from '@/menuSet.js'

const routesList = [...publicRouter.routerList, ...orderRouter.routerList]
const menuList = [publicRouter.menuList, orderRouter.menuList]

// export const frameRoutes = menuSetting.isLocalRouter ? filterRouter(routesList) : []
export const frameRoutes = filterRouter(routesList)
export const frameMenu = filterMenu(menuList)
